Skip to content

test: update asset snapshot for @aws/agentcore-cdk 0.1.0-alpha.19#875

Merged
jesseturner21 merged 1 commit intomainfrom
chore/update-snapshots
Apr 16, 2026
Merged

test: update asset snapshot for @aws/agentcore-cdk 0.1.0-alpha.19#875
jesseturner21 merged 1 commit intomainfrom
chore/update-snapshots

Conversation

@aidandaly24
Copy link
Copy Markdown
Contributor

Summary

  • Regenerates the CDK package.json asset snapshot via npm run test:update-snapshots.
  • Picks up the @aws/agentcore-cdk version pin (0.1.0-alpha.180.1.0-alpha.19) that landed in fix: pin @aws/agentcore-cdk to exact version in CDK template #852 but wasn't reflected in the snapshot.
  • No changes to the vended template itself — this is a snapshot-only catch-up.

Test plan

  • npm run test:update-snapshots1 updated, diff scoped to the expected version bump
  • git diff reviewed: single-line change in src/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap
  • Pre-commit typecheck passed

Regenerates the CDK package.json snapshot to match the version bump
landed in #852, which pinned @aws/agentcore-cdk to 0.1.0-alpha.19 in
the vended CDK template but did not refresh the corresponding snapshot.
@aidandaly24 aidandaly24 requested a review from a team April 16, 2026 22:35
@github-actions github-actions bot added the size/xs PR size: XS label Apr 16, 2026
@jesseturner21 jesseturner21 merged commit f781c60 into main Apr 16, 2026
21 checks passed
@jesseturner21 jesseturner21 deleted the chore/update-snapshots branch April 16, 2026 22:36
@github-actions
Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.8.2.tgz

How to install

npm install https://github.com/aws/agentcore-cli/releases/download/pr-875-tarball/aws-agentcore-0.8.2.tgz

@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 44.57% 7060 / 15840
🔵 Statements 44.04% 7491 / 17007
🔵 Functions 41.98% 1262 / 3006
🔵 Branches 43.59% 4752 / 10900
Generated in workflow #1817 for commit 4998f32 by the Vitest Coverage Report Action

aidandaly24 added a commit that referenced this pull request Apr 16, 2026
Adds a step to the Release workflow that regenerates the CDK asset
snapshot immediately after the @aws/agentcore-cdk version sync, so any
version drift in src/assets/cdk/package.json is captured in the same
release commit (picked up by the existing `git add -A` on line 162).

Scoped to the `Assets Directory Snapshots` describe block via `-t` so
only the one snapshot file that can drift from a CDK version bump runs
— ~35s instead of a full ~65s unit-test run, and not blocked by
unrelated tests that require `dist/cli/index.mjs` (e.g., dev.test.ts).

Follow-up to #852 and #875, which had to manually regenerate this
snapshot after the 0.1.0-alpha.18 → 0.1.0-alpha.19 pin landed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants